home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9010 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  704 b 

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news text default
99% file C++ source text default
98% file C++ source, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 74 6e | 63 6e 65 74 2e 63 6f 6d |Path: tn|cnet.com|
|00000010| 21 75 73 65 6e 65 74 0a | 46 72 6f 6d 3a 20 53 69 |!usenet.|From: Si|
|00000020| 6d 6f 6e 20 4c 65 65 20 | 28 53 69 6d 6f 6e 20 4c |mon Lee |(Simon L|
|00000030| 65 65 29 0a 4e 65 77 73 | 67 72 6f 75 70 73 3a 20 |ee).News|groups: |
|00000040| 63 6f 6d 70 2e 6c 61 6e | 67 2e 63 2b 2b 0a 53 75 |comp.lan|g.c++.Su|
|00000050| 62 6a 65 63 74 3a 20 48 | 6f 77 20 74 6f 20 63 6f |bject: H|ow to co|
|00000060| 70 79 20 61 6e 20 6f 62 | 6a 65 63 74 3f 0a 44 61 |py an ob|ject?.Da|
|00000070| 74 65 3a 20 32 37 20 46 | 65 62 20 31 39 39 36 20 |te: 27 F|eb 1996 |
|00000080| 32 33 3a 35 38 3a 33 34 | 20 47 4d 54 0a 4f 72 67 |23:58:34| GMT.Org|
|00000090| 61 6e 69 7a 61 74 69 6f | 6e 3a 20 41 54 4d 6e 65 |anizatio|n: ATMne|
|000000a0| 74 2c 20 4c 4c 43 20 53 | 61 6e 20 44 69 65 67 6f |t, LLC S|an Diego|
|000000b0| 2c 20 43 41 0a 4d 65 73 | 73 61 67 65 2d 49 44 3a |, CA.Mes|sage-ID:|
|000000c0| 20 3c 34 68 30 35 72 62 | 24 73 75 36 40 61 74 6c | <4h05rb|$su6@atl|
|000000d0| 61 73 2e 74 6e 63 6e 65 | 74 2e 63 6f 6d 3e 0a 52 |as.tncne|t.com>.R|
|000000e0| 65 70 6c 79 2d 54 6f 3a | 20 73 69 6d 6f 6e 6c 40 |eply-To:| simonl@|
|000000f0| 64 61 74 61 77 6f 72 6b | 73 2e 63 6f 6d 0a 4e 4e |datawork|s.com.NN|
|00000100| 54 50 2d 50 6f 73 74 69 | 6e 67 2d 48 6f 73 74 3a |TP-Posti|ng-Host:|
|00000110| 20 73 64 69 70 32 32 35 | 2e 64 61 74 61 77 6f 72 | sdip225|.datawor|
|00000120| 6b 73 2e 63 6f 6d 0a 4d | 69 6d 65 2d 56 65 72 73 |ks.com.M|ime-Vers|
|00000130| 69 6f 6e 3a 20 31 2e 30 | 0a 43 6f 6e 74 65 6e 74 |ion: 1.0|.Content|
|00000140| 2d 54 79 70 65 3a 20 54 | 65 78 74 2f 50 6c 61 69 |-Type: T|ext/Plai|
|00000150| 6e 3b 20 63 68 61 72 73 | 65 74 3d 55 53 2d 41 53 |n; chars|et=US-AS|
|00000160| 43 49 49 0a 58 2d 4e 65 | 77 73 72 65 61 64 65 72 |CII.X-Ne|wsreader|
|00000170| 3a 20 57 69 6e 56 4e 20 | 30 2e 39 39 2e 37 0a 0a |: WinVN |0.99.7..|
|00000180| 0a 48 65 6c 6c 6f 2c 0a | 0a 49 27 6d 20 74 72 79 |.Hello,.|.I'm try|
|00000190| 69 6e 67 20 74 6f 20 68 | 61 76 65 20 61 20 6d 65 |ing to h|ave a me|
|000001a0| 6d 62 65 72 20 66 75 6e | 63 74 69 6f 6e 20 72 65 |mber fun|ction re|
|000001b0| 74 75 72 6e 20 61 20 64 | 75 70 6c 69 63 61 74 65 |turn a d|uplicate|
|000001c0| 20 63 6f 70 79 20 6f 66 | 20 61 0a 6d 65 6d 62 65 | copy of| a.membe|
|000001d0| 72 20 64 61 74 61 20 6f | 62 6a 65 63 74 2e 20 20 |r data o|bject. |
|000001e0| 48 6f 77 20 77 6f 75 6c | 64 20 49 20 67 6f 20 61 |How woul|d I go a|
|000001f0| 62 6f 75 74 20 74 68 69 | 73 3f 0a 0a 49 65 2e 0a |bout thi|s?..Ie..|
|00000200| 0a 63 6c 61 73 73 20 78 | 20 7b 0a 70 72 69 76 61 |.class x| {.priva|
|00000210| 74 65 3a 0a 09 59 20 20 | 2a 6f 62 6a 65 63 74 5f |te:..Y |*object_|
|00000220| 6f 66 5f 63 6c 61 73 73 | 5f 79 3b 0a 0a 70 75 62 |of_class|_y;..pub|
|00000230| 6c 69 63 3a 0a 09 59 20 | 47 65 74 59 28 29 3b 0a |lic:..Y |GetY();.|
|00000240| 7d 3b 0a 0a 0a 49 20 77 | 6f 75 6c 64 20 6c 69 6b |};...I w|ould lik|
|00000250| 65 20 47 65 74 59 28 29 | 20 74 6f 20 72 65 74 75 |e GetY()| to retu|
|00000260| 72 6e 20 61 20 63 6f 70 | 79 20 6f 66 20 6f 62 6a |rn a cop|y of obj|
|00000270| 65 63 74 5f 6f 66 5f 63 | 6c 61 73 73 5f 79 2c 20 |ect_of_c|lass_y, |
|00000280| 6e 6f 74 20 61 20 70 6f | 69 6e 74 65 72 0a 74 6f |not a po|inter.to|
|00000290| 20 69 74 2e 0a 0a 41 6e | 79 20 65 6d 61 69 6c 20 | it...An|y email |
|000002a0| 72 65 73 70 6f 6e 73 65 | 73 20 61 70 70 72 65 63 |response|s apprec|
|000002b0| 69 61 74 65 64 2e 0a 0a | 2d 53 69 6d 6f 6e 0a 0a |iated...|-Simon..|
+--------+-------------------------+-------------------------+--------+--------+